package com.zang.blogz.constant;

/**
 * @Author: ZVerify
 * @Description: 返回值常量
 * @DateTime: 2022/8/29 14:09
 **/
public class ResultConstant {

    public static final String SAVE_SUCCESS = "保存成功";
    public static final String SAVE_FAIL = "保存失败";

    public static final String STATE_SUCCESS = "状态更改成功";
    public static final String STATE_FAIL = "状态更改失败";

    public static final String UPDATE_SUCCESS = "更新成功";
    public static final String UPDATE_FAIL = "更新失败";

    public static final String DELETE_SUCCESS = "删除成功";
    public static final String DELETE_FAIL = "删除失败";
    public static final String D_EXIST_DELETE_FAIL = "不存在此数据";

    public static final String ARTICLE_NULL= "未找到对应文章请刷新一下";
    public static final String RELEASE_SUCCESS= "发布成功";

    public static final String MESSAGE_SUCCESS = "留言成功";
    public static final String MESSAGE_FAIL = "留言成功";

    public static final String COMMENT_SUCCESS = "评论成功";

    public static final String SUCCESS_THUMBS_UP = "点赞成功";

    public static final String SUCCESS_THUMBS_DOWN = "取消点赞成功";



    public static class LoginMessage{

        public static final String LOGIN_SUCCESS = "登录成功";
        public static final String USER_NOT_EXIST = "该用户不存在";
        public static final String S_KEY_NOT_EXIST = "当前用户没有秘钥请联系管理员";
        public static final String PASSWORD_INCORRECT = "密码不正确";
        public static final String QQ_LOGIN_ERROR = "qq登录错误";
    }

    public static class LogoutMessage{

        public static final String LOGOUT_SUCCESS = "您已退出登录";
    }

    public static class FileMessage{

        public static final String FILE_EXCEPTION = "文件上传异常";
        public static final String FILE_IMPORT_S = "文件导入成功";
        public static final String FILE_EXPORT_E = "文件导出异常";
        public static final String FILE_EXPORT_S = "文件成功导出";

    }

    public static class RegisterMessage{

        public static final String MAIL_NULL  = "邮箱不能为空哦，不然不可以发送验证码";

        public static final String MAIL_EXIST = "该邮箱已注册请直接登录";

        public static final String VERIFICATION_CODE_NO_EXIST = "验证码还没有过期请使用之前的验证码进行登录";

        public static final String VERIFICATION_CODE_EXIST = "验证码已过期，请重新获得验证码";

        public static final String VERIFICATION_CODE_INCORRECT = "验证码不正确请重新输入";

        public static final String VERIFICATION_CODE_SUCCESS = "发送成功请注意邮箱接收";

        public static final String VERIFICATION_CODE_NULL= "验证码为空，请输入验证码之后再登录";

        public static final String REGISTER_SUCCESS = "注册成功";
        public static final String REGISTER_FAIL = "注册失败";
    }

    public static class InitializationMessage{

        public static final String SEARCH_STRUCTURE  = "初始化查询构造器异常";
    }

    public static class JobMessage{

        public static final String JOB_SUCCESS = "任务执行成功";
        public static final String JOB_ERROR = "任务执行失败";
    }



}
